﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Workflow.ComponentModel;
using System.Workflow.Activities;
using System.Workflow.ComponentModel.Serialization;

namespace YakShaver.Contract
{
    [ExternalDataExchange]
    public interface IAnalysisService
    {
        /// <summary>
        /// Provider (Like CodePlex provider) takes work item data and maps in criteria (such as component, issue, and if it needs intervention)
        /// </summary>
        /// <param name="workItemData">Instance of IWorkItemDataContract passed from the WCF (or other) service</param>
        /// <returns>Instance of YakShaverWorkItem</returns>
        YakShaverWorkItem AnalyzeSubmittedWorkItem(ref IWorkItemDataContract workItemData);
    }

}
